<?

error_reporting (E_ALL ^ E_NOTICE);
include('../../initDB.php');
include('../../querys.php');
include('../../functions.php');

$_user = $_REQUEST['user'];
$_link = $_REQUEST['link'];

$_user = escape_string($_user);
$_link = escape_string($_link);

$db_user_has_link->execute(array($_user, $_link));
$counter = count($db_user_has_link->fetchAll());

print_output($counter);

?>